package lv.clientedisqueria.view.principal;

import javax.swing.JToolBar;

import lv.clientedisqueria.controller.principal.PrincipalController;

@SuppressWarnings("serial")
public class PrincipalMenuBoton extends JToolBar {

	private final PrincipalController principalController;

	public PrincipalMenuBoton(PrincipalController principalController) {
		this.principalController = principalController;
		iniciarVista();
	}

	private void iniciarVista() {
		this.add(this.principalController.getTemaAction());
		this.add(this.principalController.getDiscoAction());
		this.add(this.principalController.getMusicoAction());
		this.add(this.principalController.getAdminUsuarioAction());
		this.add(this.principalController.getIngenierosAction());
		this.add(this.principalController.getInstrumentoAction());
		this.add(this.principalController.getEstiloAction());
		this.add(this.principalController.getTipoSoporteAction());
		this.add(this.principalController.getGruposAction());
		
	}
}